package com.zeldu.question.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("exam_student")
public class StudentExam {
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    @TableField(value = "exam_id")
    private Long examId;

    @TableField(value = "student_id")
    private Long studentId;

    @TableField(value = "status")
    private int status;

    @TableField(value = "score")
    private int score;

    @TableField(value = "exam_content")
    private String examContent;

}
